<?php
namespace app\index\controller;

use app\common\model\DateModel;
use PhpOffice\PhpSpreadsheet\Shared\Date;
use think\Controller;

class Index extends Controller
{
    public function index()
    {
        //查询数据
        $model = new DateModel();
        $datas = $model->group('date')->
        $datas = DateModel::all();
        return $this->fetch();
    }

    public function hello($name = 'ThinkPHP5')
    {
        return 'hello,' . $name;
    }
}
